package com.model.dto;

import com.model._do.AppointmentDO;
import lombok.Getter;
import lombok.Setter;

import java.util.Calendar;

public class AppointmentDTO {

    public AppointmentDTO(AppointmentDO appointment){
        this.appointment = appointment;
        this.time = appointment.getAppointmentTime().toString();
    }
    @Getter
    @Setter
    private AppointmentDO appointment;

    private String time;
}
